package com.tjc.common.pool;

/**
 * @Author: tjc
 * @description
 * @Date Created in 22:20 2022-08-06
 */
public class DefaultPooledObjectFactory<T> implements PooledObjectFactory<T> {
    @Override
    public T makeObject() throws Exception {
        return null;
    }

    @Override
    public void activateObject(T o) throws Exception {

    }

    @Override
    public void passivateObject(T o) throws Exception {

    }

    @Override
    public void destroyObject(T o) throws Exception {

    }

    @Override
    public boolean validateObject(T p) {
        return false;
    }
}
